//
//  YBTopDownButton.h
//  HomeDoorWay
//
//  Created by apple on 17/9/18.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface YBTopDownButton : UIButton
@property (nonatomic , strong) UIImageView * theImageView;
@property (nonatomic , strong) UILabel * theLabel;
@property (nonatomic , strong) UIView * badgeView;

//参数：frame－大小  text－文字内容  textColor－文字颜色  imageName－图片名  font－文字大小  imageSize－图片大小theInterval－文字图片竖向间距
- (instancetype)initWithFrame:(CGRect)frame text:(NSString *)text textColor:(UIColor *)textColor imageName:(NSString *)imageName font:(CGFloat)font imageSize:(CGFloat)imageSize theInterval:(CGFloat)theInterval;
@end
